package com.example.foodclient.pojo;

public class Comment {


    /**
     * msg : 成功
     * successs : true
     * data : {"id":14,"comment":"demoData","foodid":1,"postdate":"2020-09-24 12:00:00","userid":1}
     */

    private String msg;
    private boolean successs;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccesss() {
        return successs;
    }

    public void setSuccesss(boolean successs) {
        this.successs = successs;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 14
         * comment : demoData
         * foodid : 1
         * postdate : 2020-09-24 12:00:00
         * userid : 1
         */

        private Integer id;
        private String comment;
        private Integer foodid;
        private String postdate;
        private Integer userid;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public Integer getFoodid() {
            return foodid;
        }

        public void setFoodid(Integer foodid) {
            this.foodid = foodid;
        }

        public String getPostdate() {
            return postdate;
        }

        public void setPostdate(String postdate) {
            this.postdate = postdate;
        }

        public Integer getUserid() {
            return userid;
        }

        public void setUserid(Integer userid) {
            this.userid = userid;
        }
    }
}
